export default function mouseWheel(callback) {
    this.app.view.addEventListener(
      "mousewheel",
      function (e) {
        let ev = window.event || e;
        ev.preventDefault();
        let type = ev.wheelDeltaY < 0 ? "down" : "up";
        callback && callback(ev,type);
      },
      false
    );
};

